package com.atguigu.gulimall.product.dao;

import com.atguigu.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 商品属性
 * 
 * @author fangdada
 * @email 1819675707@qq.com
 * @date 2021-04-30 20:35:23
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

	/**
	 * 在指定的所有属性集合里面，查询出检索属性
	 * @author fd
	 * @date 2021/7/1 11:40
	 * @param attrIds 
	 * @return java.util.List<java.lang.Long>
	 */
	List<Long> selectSearchAttrIds(@Param("attrIds") List<Long> attrIds);
}
